<?php include "includes/header.php"; ?> 

		<script type="text/javascript"> 
			function goLastMonth(month, year) {
				if(month == 1) {
					--year;
					month=13
				}
				document.location.href="/?p=<?php echo $page; ?>&month="+(month-1)+"&year="+year;
			}
			
			function goNextMonth(month, year){
				if (month == 12) {
					++year
					month = 0;
				}
				document.location.href="/?p=<?php echo $page; ?>&month="+(month+1)+"&year="+year;
			}
		</script>
		<?php
		  if(isset($_GET['day'])) {
		  $day = $_GET['day'];
		  } else {
		  $day = date("j");
		  }
		  if(isset($_GET['month'])) {
		  $month = $_GET['month'];
		  }else{
		  $month = date("n");
		  }
		  
		  if(isset($_GET['year'])) {
		  $year = $_GET['year'];
		  } else {
		  $year = date("Y");
		  }
		  
		  echo $month."/".$day."/".$year;
		  
		  //calendar variable
		  $currentTimeStamp = strtotime("$year-$month-$day");
		  $monthName = date("F", $currentTimeStamp);
		  $numDays = date("t", $currentTimeStamp);
		  $counter = 0;
		  ?>
		  <h2 align='center'>Strip Clubs Event Calendar</h2>
		  <h2 align='center'>Table Service, Bottle Service, and VIP Guest Lists at all Clubs</h2>
				<table border='1' bordercolor='#FFFF00' bgcolor='9E9E9E' cellspacing='0' cellpadding='0' align=center>
				<tr>
					<td><input style='width:75px' type='button' value='<' name='previousbutton' onclick="goLastMonth(<?php echo $month.",".$year?>)"></td>
					<td colspan="6" align='center'><?php echo "Event Calendar ".$monthName.", ".$year; ?></td>
					<td><input style='width:75px' type='button' value='>' name='nextbutton' onclick="goNextMonth(<?php echo $month.",".$year?>)"></td>
				</tr>
				<tr align='center'>
					<td></td>
					<td>Thur 4/26</td>
					<td>Fri 4/27</td>
					<td>Sat 4/28</td>
					<td>Sun 4/29</td>
					<td>Mon 4/30</td>
					<td>Tue 5/1</td>
					<td>Wed 5/2</td>
				</tr>
				<tr height='75px' align='center'>
					<td width='75px'><a href='/?p=reservations'><img src='images/saph-logo.jpg' alt='strip clubs las vegas'></a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
				</tr>
				<tr height='75px' align='center'>
					<td width='75px'><a href='/?p=reservations'><img src='images/covergirls-logo.jpg'></a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					</tr>
					<tr height='75px' align='center'>
					<td width='75px'><a href='/?p=reservations'><img src='images/treasures-logo.jpg'></a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
				</tr>
				<tr height='75px' align='center'>
					<td width='75px'><a href='/?p=reservations'><img src='images/crazyhorse-logo.jpg'></a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
				</tr>
				<tr height='75px' align='center'>
					<td width='75px'><a href='/?p=reservations'><img src='images/littledarlings-logo.jpg'></a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
				</tr>
				<tr height='75px' align='center'>
					<td width='75px'><a href='/?p=reservations'><img src='images/pearl.jpg'></a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
					<td width='75px'><a href='/?p=reservations'>Open 24/7</a></td>
				</tr>
				<tr height='75px' align='center'>
					<td width='75px'><a href='/?p=reservations'><img src='images/palms-place.jpg'></a></td>
					<td width='75px'><a href='/?p=reservations'>Pool & Bungalows <br>Open <br>9am-6pm</a></td>
					<td width='75px'><a href='/?p=reservations'>Ditch Fridays <br>Open <br>9am-6pm</a></td>
					<td width='75px'><a href='/?p=reservations'>Pool & Bungalows <br>Open <br>9am-6pm</a></td>
					<td width='75px'><a href='/?p=reservations'>Pool & Bungalows <br>Open <br>9am-6pm</a></td>
					<td width='75px'><a href='/?p=reservations'>Pool & Bungalows <br>Open <br>9am-6pm</a></td>
					<td width='75px'><a href='/?p=reservations'>Pool & Bungalows <br>Open <br>9am-6pm</a></td>
					<td width='75px'><a href='/?p=reservations'>Pool & Bungalows <br>Open <br>9am-6pm</a></td>
				</tr>
				<tr height='75px' align='center'>
					<td width='75px'><a href='/?p=reservations'><img src='images/rehab-sundays.jpg'></a></td>
					<td width='75px'><a href='/?p=reservations'>Pool & Bungalows <br>Open <br>9am-6pm</a></td>
					<td width='75px'><a href='/?p=reservations'>Summercamp Fridays <br>Open <br>11am-8pm</a></td>
					<td width='75px'><a href='/?p=reservations'>Nectar Music Festival<br>11am-8pm</a></td>
					<td width='75px'><a href='/?p=reservations'>Rehab Sundays<br>Open <br>11am-8pm</a></td>
					<td width='75px'><a href='/?p=reservations'>Relax Mondays<br>Open <br>11am-8pm</a></td>
					<td width='75px'><a href='/?p=reservations'>Pool & Bungalows <br>Open <br>9am-6pm</a></td>
					<td width='75px'><a href='/?p=reservations'>Pool & Bungalows <br>Open <br>9am-6pm</a></td>
				</tr>
				
			</table>


<?php 

#content ends here
include("includes/footer.php");
?>